﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartSpace.Tasks
{
    public interface ITaskService
    {
        /// <summary>
        /// 创建任务信息
        /// </summary>
        /// <param name="message"></param>
        /// <returns></returns>
        ServiceResult CreateTask(TaskMessage message);
        /// <summary>
        /// 获取收到的任务提示信息
        /// </summary>
        /// <param name="account"></param>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <returns></returns>
        PagedResult<TaskMessage> GetTasks(string account, int start, int limit);
    }
}
